package com.parkingspace.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 角色和角色权限中间表
 * </p>
 *
 * @author Gapper
 * @since 2021-05-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Rolepermission implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
      @TableId(value = "rpid", type = IdType.ASSIGN_ID)
    private Long rpid;

    /**
     * 用户角色表主键ID
     */
    private Long rid;

    /**
     * 角色权限表主键ID
     */
    private Long pid;


}
